package com.yks.hbo.amazon.util;

public interface AmazonAdvertisingApiConstant {
    /**
     * NA
     */
    interface NaUrlPathPrefix{
        //授权码请求URL
        //北美区
        String NA_AUTH_CODE_URL = "https://www.amazon.com/ap/oa";

        //TOKEN请求URL
        //北美区(NA):
        String NA_AUTH_TOKEN_URL = "https://api.amazon.com/auth/o2/token";

        //亚马逊广告API请求URL
        //北美区(NA):
        String NA_AD_API_URL = "https://advertising-api.amazon.com";
    }

    /**
     * EU
     */
    interface EuUrlPathPrefix{
        //授权码请求URL
        //欧洲
        String EU_AUTH_CODE_URL = "https://eu.account.amazon.com/ap/oa";

        //TOKEN请求URL
        //欧洲区(EU):
        String EU_AUTH_TOKEN_URL = "https://api.amazon.co.uk/auth/o2/token";

        //亚马逊广告API请求URL
        //欧洲区(EU):
        String EU_AD_API_URL = "https://advertising-api-eu.amazon.com";
    }

    /**
     * FE
     */
    interface FeUrlPathPrefix{
        //授权码请求URL
        //远东
        String FE_AUTH_CODE_URL = "https://apac.account.amazon.com/ap/oa";

        //TOKEN请求URL
        //远东区(FE):
        String FE_AUTH_TOKEN_URL = "https://api.amazon.co.jp/auth/o2/token";

        //亚马逊广告API请求URL
        //远东区(FE):
        String FE_AD_API_URL = "https://advertising-api-fe.amazon.com";
    }

    /**
     * app相关信息
     */
    interface App{
        String CLIENT_ID  =  "amzn1.application-oa2-client.964633e31859408b824213491d9c30e6";
        String CLIENT_SECRET = "48d0b4bec8bb73079f19d28e9efebcc91c70d81534c00db564963aad05b95618";

        String REFRESH_TOKEN = "Atzr|IwEBIIMXeQXDBhzCF5fs2T2N11qpwKfijByxxCkvfyMsn493-AKoapmEoug-9S8Q5Hn-WNrNzvvcT4duabfuna_iNKY66IsNlxWys2D_cvx9rVr3qwfvPie32QzjY2kHg3rRGc8DUzYXGyMxcQJGPWlQg3oql-TJOP3EMjC8JA-trW2LJ0fYK54T7iKCo4wMypa7SsTMyeoGvGH-2RUyWu4e-5Gies57nIxo-k61IRkqFuRCKhm5aR_Sn4NoiNXb9O3XKMhAhf2MQEA3XuWcf5TAhTFkZRqjEgXWo9ddGW_9gXpSD9HKjqHYeji0GRc5SIxmd12eUda7czDRavYREuMc_jM7gwpTHj3T2rp9dgigTIXyalZ7GEi97JvZfJ5N3yQ-luJLdT3YY9XOufxGP6wLMBVtSYCg72dpVFoD7DUt2jWu8oN7H7048_Cs-WXIGhgtn8m5j_C37iwrEwYVfTCtbIB6K5zjNOz95Td6KXLPBgH1PzO5MZ0_x9gET_-tH9xmgN4";
    }

    /**
     * url后缀
     */
    interface UrlPathSuffix{
        String EXTENDED = "/extended"; //扩展
        String PROFILES = "/v2/profiles"; //广告账户
        String CAMPAIGNS = "/v2/sp/campaigns"; //广告活动
        String CREATE_PRODUCT = "/product/products/create";
        String UPDATE_PRODUCT = "/product/products/update";
        String PORTFOLIOS = "/v2/portfolios"; //广告组合
        String ADGROUPS = "/v2/sp/adGroups"; //广告组
        String PRODUCTADS = "/v2/sp/productAds"; //广告
        String KEYWORDS = "/v2/sp/keywords"; //关键词
        String UGGESTED_KEYWORDS = "/v2/sp/asins/suggested/keywords"; //推荐关键词
        String SUGGESTED_KEYWORDS = "/suggested/keywords"; //推荐关键词
        String TARGETS = "/v2/sp/targets"; //商品定位
        String TARGETS_CATEGORIES = "/v2/sp/targets/categories"; //推荐分类
        String PRODUCT_RECOMMENDATIONS = "/v2/sp/targets/productRecommendations"; //推荐商品
        String CAMPAIGN_NEGATIVE_KEYWORDS = "/v2/sp/campaignNegativeKeywords"; //广告活动否定词
        String NEGATIVE_KEYWORDS = "/v2/sp/negativeKeywords"; //广告组否定词
        String POST_REPORT = "/v2/sp/%s/report"; //生成报告
        String GET_REPORT = "/v2/reports/%s"; //获取报告链接
    }
}
